* {
  box-sizing: border-box;
}

html {
  font-family: @font-family-base;
  font-size: 10px;
  color: @text-color;
  line-height: @line-height-base;
  text-size-adjust: 100%;
  background-image: url(header-footer-background.png);
}

body {
  margin: 0;
  font-size: @font-size-base;
}

nav {
  display: block;
}

a {
  color: @link-color;
  text-decoration: none;

  transition: color ease-in-out .2s;

  &:hover {
    text-decoration: underline;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: @font-family-base;
  line-height: @line-height-base;
  font-weight: bold;
}

h1 {
  font-size: 24px;

  .desktop-and-old-ie({
    font-size: 30px;
  });
}

h2 {
  font-size: 21px;

  .desktop-and-old-ie({
    font-size: 24px;
  });
}

h3 {
  font-size: 18px;

  .desktop-and-old-ie({
    font-size: 21px;
  });
}

h4 {
  font-size: 15px;

  .desktop-and-old-ie({
    font-size: 18px;
  });
}

h5 {
  font-size: 14px;

  .desktop-and-old-ie({
    font-size: 16px;
  });
}

h6 { font-size: 14px; }

hr {
  height: 0;
  margin-top: 18px;
  margin-bottom: 18px;
  border: 0;
  border-top: 1px solid @border-gray;
}

code,
tt, //@ todo: check if <tt> is still used
pre {
  font-size: @font-size-base - 1;
  font-family: @font-family-monospace;
  -webkit-font-smoothing: antialiased;
}

tt,
code {
  background-color: @bg-gray;
  border-radius: 4px;
  padding: 1px 3px;
  color: #6D180B;
  word-break: break-all;

  a {
    color: #c00;
  }
}

pre {
  display: block;
  padding: 9px;
  margin: 0 0 9px;

  word-break: normal;
  word-wrap: break-word;
  white-space: pre;

  background-color: @bg-gray;
  line-height: 1.42857143;
  border: 1px solid @border-gray;
  border-radius: 4px;
}

img {
  border: 0;
  vertical-align: middle;
}

// tables
table {
  border: 0;
  border-collapse: collapse;
}

td,
th {
  padding: 0;
}